dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlHelper Class / ExecuteNonQuery Method / ExecuteNonQuery(MySqlConnection,String,MySqlParameter[]) Method
The MySqlConnection object to use.
The SQL command to execute.
The array of MySqlParameter objects to use with the command.

In This Topic
    ExecuteNonQuery(MySqlConnection,String,MySqlParameter[]) Method
    In This Topic
    Executes a single command against a MySQL database. The MySqlConnection is assumed to be open when the method is called and remains open after the method completes.
    Syntax
    'Declaration
     
    Public Overloads Shared Function ExecuteNonQuery( _
       ByVal connection As MySqlConnection, _
       ByVal commandText As String, _
       ByVal ParamArray commandParameters() As MySqlParameter _
    ) As Integer
    public static int ExecuteNonQuery( 
       MySqlConnection connection,
       string commandText,
       params MySqlParameter[] commandParameters
    )

    Parameters

    connection
    The MySqlConnection object to use.
    commandText
    The SQL command to execute.
    commandParameters
    The array of MySqlParameter objects to use with the command.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also